<html>
	<head>
		<title>Find Hidden Elements</title>
		<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
	</head>
	<body>
		<div style="display: none">This is a div</div>
		<img style="display: none" src="star.jpg" />
		<p style="display: none">Thi is a short paragraph</p>
		
		<script type="text/javascript">
			document.write($(":hidden", document.body).length + " hidden elements found");
		</script>
	</body>
</html>